﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PiLiangDDJGS.aspx.cs" Inherits="Web.Pages.YongShui.JiChuXX.PiLiangDDJGS" Theme="Default" %>

<%@ Register Assembly="DevExpress.Web.v15.2, Version=15.2.9.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.Web" TagPrefix="dx" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <script src="../../../JS/AddEditCancel.js"></script>
    <script src="../../../JS/jquery.js"></script>
</head>
<body>
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
        <div class="tabletitle1" align="center">
            批量调动局公司
        </div>
        <div style="width: 99%; height: 100%">
            <asp:UpdatePanel runat="server" ID="updatePanel">
                <ContentTemplate>
                    <table style="width: 100%;">
                        <tr>
                            <td align="right" style="width: 15%;">调动的局： </td>
                            <td style="width:15%">                                                            
                                <dx:ASPxTextBox ID="conYuanJuH" runat="server" Width="100%">
                                    <ClientSideEvents KeyPress="function(s,e){var key = event.keyCode;
                                     if( key==13){$('#btnYuanJuSearch').click();}}" />
                                </dx:ASPxTextBox>
                            </td>
                            <td style="width: 15%">
                                <dx:ASPxButton ID="btnYuanJuSearch" runat="server" Text="查询" OnClick="btnYuanJuSearch_Click"></dx:ASPxButton>
                            </td>
                            <td style="width: 10%;">&nbsp;</td>
                            <td align="right" style="width: 15%;">目的局：</td>
                            <td style="width:15%">                               
                                <dx:ASPxTextBox ID="conMuBiaoJuH" runat="server" Width="100%">
                                    <ClientSideEvents KeyPress="function(s,e){var key = event.keyCode;
                                         if( key==13){$('#btnMuDiJuSearch').click();}}" />
                                </dx:ASPxTextBox>
                            </td>
                            <td style="width: 15%">
                                <dx:ASPxButton ID="btnMuDiJuSearch" runat="server" Text="查询" OnClick="btnMuDiJuSearch_Click"></dx:ASPxButton>
                            </td>
                        </tr>
                    </table>
                    <table style="width: 100%">
                        <tr>
                            <td align="center">
                                <dx:ASPxLabel ID="lblYuanJuMC" runat="server" Text="" Font-Bold="true" Font-Size="Medium"></dx:ASPxLabel>
                            </td>
                            <td>&nbsp;</td>
                            <td align="center">
                                <dx:ASPxLabel ID="lblMuBiaoJuMC" runat="server" Text="" Font-Bold="true" Font-Size="Medium"></dx:ASPxLabel>

                            </td>
                        </tr>
                        <tr>
                            <td style="width: 45%;" align="right">

                                <dx:ASPxGridView ID="gvYuanJuGSList" ClientInstanceName="gvList1" runat="server" AutoGenerateColumns="False" KeyFieldName="ID" Theme="Aqua1" Width="100%">
                                    <Columns>
                                        <dx:GridViewCommandColumn ShowSelectCheckbox="True" VisibleIndex="0" Caption=" ">
                                        </dx:GridViewCommandColumn>
                                        <dx:GridViewDataTextColumn FieldName="S_BIANHAO" Caption="公司编号" Width="25%">
                                        </dx:GridViewDataTextColumn>
                                        <dx:GridViewDataTextColumn FieldName="S_MINGCHENG" Caption="公司名称" Width="65%">
                                        </dx:GridViewDataTextColumn>
                                    </Columns>
                                    <Settings VerticalScrollableHeight="400" VerticalScrollBarMode="Auto" />
                                    <ClientSideEvents Init="function(s,e){AdjustSize(120,gvList1);}"  />
                                </dx:ASPxGridView>
                            </td>
                            <td style="width: 10%" valign="top">

                                <table style="width: 100%;">
                                    <tr>
                                        <td align="center">
                                            <dx:ASPxButton ID="btnQuanJuDD" runat="server" Text="全局调动>>>" UseSubmitBehavior="false" Width="100%" OnClick="btnQuanJuDD_Click"></dx:ASPxButton>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="center">
                                            <dx:ASPxButton ID="btnBuFenGSDD" runat="server" Text="部分公司调动>>" UseSubmitBehavior="false" Width="100%" OnClick="btnBuFenGSDD_Click"></dx:ASPxButton>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="center">
                                        </td>
                                    </tr>
                                </table>
                            </td>
                            <td style="width: 45%;" align="left">

                                <dx:ASPxGridView ID="gvTargetJuGSList" ClientInstanceName="gvList2" runat="server" AutoGenerateColumns="False" KeyFieldName="ID" Theme="Aqua1" Width="100%">
                                    <Columns>
                                        <dx:GridViewCommandColumn ShowSelectCheckbox="True" VisibleIndex="0" Caption=" ">
                                        </dx:GridViewCommandColumn>
                                        <dx:GridViewDataTextColumn FieldName="S_BIANHAO" Caption="公司编号" Width="25%">
                                        </dx:GridViewDataTextColumn>
                                        <dx:GridViewDataTextColumn FieldName="S_MINGCHENG" Caption="公司名称" Width="65%">
                                        </dx:GridViewDataTextColumn>
                                    </Columns>
                                    <Settings VerticalScrollableHeight="400" VerticalScrollBarMode="Auto" />
                                    <ClientSideEvents Init="function(s,e){AdjustSize(120,gvList2);}"  />
                                </dx:ASPxGridView>
                            </td>
                        </tr>
                    </table>
                </ContentTemplate>
            </asp:UpdatePanel>            
        </div>
    </form>
</body>
</html>



